import React from "react";
import Svg from "../Svg";
import { SvgProps } from "../types";

const Icon: React.FC<React.PropsWithChildren<SvgProps>> = (props) => {
  return (
    <Svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="none" {...props}>
      <mask
        id="mask0_941_23046"
        style={{ maskType: "alpha" }}
        maskUnits="userSpaceOnUse"
        x="0"
        y="0"
        width="12"
        height="12"
      >
        <rect width="12" height="12" fill="#D9D9D9" />
      </mask>
      <g mask="url(#mask0_941_23046)">
        <path
          d="M4.5821 5.9998L5.12504 5.45686C5.21671 5.36519 5.26046 5.25894 5.25629 5.13811C5.25212 5.01727 5.20421 4.91102 5.11254 4.81936C5.02087 4.72769 4.91671 4.68186 4.80004 4.68186C4.68337 4.68186 4.57921 4.72769 4.48754 4.81936L3.73064 5.5692C3.67618 5.62365 3.63265 5.68891 3.60004 5.76496C3.56743 5.84101 3.55113 5.91845 3.55113 5.9973C3.55113 6.07614 3.56743 6.15358 3.60004 6.22963C3.63265 6.30568 3.67685 6.37327 3.73265 6.43241L4.4946 7.19436C4.58627 7.28602 4.69044 7.33068 4.8071 7.32833C4.92377 7.32597 5.02794 7.27926 5.1196 7.18818C5.21127 7.09712 5.2571 6.98969 5.2571 6.86591C5.2571 6.74212 5.21127 6.6344 5.1196 6.54273L4.5821 5.9998ZM7.41798 5.9998L6.86798 6.5498C6.77631 6.64146 6.73256 6.74771 6.73673 6.86855C6.74089 6.98938 6.78881 7.09563 6.88048 7.1873C6.97214 7.27896 7.07631 7.3248 7.19298 7.3248C7.30964 7.3248 7.41381 7.27896 7.50548 7.1873L8.26944 6.4304C8.3239 6.37594 8.36743 6.31068 8.40004 6.23463C8.43265 6.15858 8.44895 6.08114 8.44895 6.0023C8.44895 5.92345 8.43265 5.84601 8.40004 5.76996C8.36743 5.69391 8.32323 5.62632 8.26743 5.56718L7.51798 4.81773C7.49298 4.79273 7.41915 4.80315 7.2965 4.84898C7.17386 4.89482 7.05837 4.94065 6.95004 4.98648C6.84171 5.03232 6.76879 5.05107 6.73129 5.04273C6.69379 5.0344 6.74587 4.9594 6.88754 4.81773C6.79587 4.90864 6.75004 5.01588 6.75004 5.13945C6.75004 5.26301 6.79587 5.37063 6.88754 5.4623L7.41798 5.9998ZM2.78483 10.44C2.44312 10.44 2.15352 10.3213 1.91604 10.0838C1.67856 9.84631 1.55981 9.55672 1.55981 9.21501V2.78458C1.55981 2.44287 1.67856 2.15328 1.91604 1.9158C2.15352 1.67831 2.44312 1.55957 2.78483 1.55957H9.21525C9.55696 1.55957 9.84656 1.67831 10.084 1.9158C10.3215 2.15328 10.4403 2.44287 10.4403 2.78458V9.21501C10.4403 9.55672 10.3215 9.84631 10.084 10.0838C9.84656 10.3213 9.55696 10.44 9.21525 10.44H2.78483Z"
          fill="#7A6EAA"
        />
      </g>
    </Svg>
  );
};

export default Icon;
